home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 07 - 1991 / 07.01 Jan 91 / Object Design / line feed removal / CmyFileManager.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-25  |  521 b   |  23 lines  |  [TEXT/KAHL]

  1. /*
  2.  
  3. CmyFileManager.h
  4.  
  5. this is the definition of my file manager object
  6.  
  7. */
  8.  
  9. #define    _H_CmyFileManager        /* Include this file only once */
  10. #include "CDataFile.h"
  11. #include "CmyDataFile.h"
  12.  
  13. struct CmyFileManager : CDataFile 
  14.     {
  15.     /* instance variables */
  16.     
  17.     /* my messages */
  18.     void ImyFileManager(void);
  19.     short GetExistingFile(SFReply *macSFReply);
  20.     short GetNewFile(SFReply *macSFReply,OSType fType);
  21.     short OpenFile(CmyDataFile **newDataFileObject,SFReply *macSFReply);
  22.     short CloseFile(CmyDataFile **newDataFileObject);
  23.     };